// 二维码列表
import request from '@/utils/request2.js';
export const dataList = () => {
  return request({
    url: '/pcapi/Code/index',
    method: 'post',
  });
};
// 景区列表
export const senList = () => {
  return request({
    url: '/pcapi/Scenic/index',
    method: 'post',
  });
};

// 二维码添加
export const listAdd = (data) => {
  return request({
    url: '/pcapi/Code/add',
    method: 'post',
    data,
  });
};

// 二维码确认删除
export const listdel = (data) => {
  return request({
    url: '/pcapi/Code/deletes',
    method: 'post',
    data,
  });
};
// 二维码搜索功能
export const listsearch = (data) => {
  return request({
    url: '/pcapi/Code/search',
    method: 'post',
    data,
  });
};